package com.ynu.springbootappdemo.model.dto.file;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * 文件上传请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadFileRequest implements Serializable {
    /**
     * 文件对象
     */
    private MultipartFile file;
    /**
     * 业务，也就是枚举类的值
     */
    private String biz;

    private static final long serialVersionUID = 1L;

}